Devices > Remote Devices > Amocams 1000 EIE > Data Groups

Data Groups

Memory Blocks

Setting dgCmd="memBlocks" in a data group’s attributes indicates that blocks are defined separately with the data group, and data group elements are defined to point to offsets within those blocks.  Block starting addresses and lengths are configured in the PollBlocks element (see below).  DataGroupElement elements access individual bytes within these blocks using the blockOffset attribute to specify a location in "block:byte" format.

<DataGroup niceName="Sample Datagroup" dgCmd="memBlocks">

<dgElements type="ui1">

<val0 desc="Byte0" blockOffset="1:0"/>

<Val1 desc="Byte1" blockOffset="1:1"/>

<Val2 desc="Byte2" blockOffset="2:0"/>

</dgElements>

<PollBlocks>

<Block1 baseAddr="0x205e" byteCnt="2"/>

<Block2 baseAddr="0x204c" byteCnt="2"/>

</PollBlocks>

</DataGroup>

Memory Direct

The second type of data group (dgCmd="memDirect") accesses a single contiguous block by setting the start address (memAddr) and length (byteCnt) in the data group’s attributes.  DataGroupElement elements access locations within this block using the off attribute to set numeric offsets from the start address.

<DataGroup niceName="Sample Datagroup" dgCmd="memDirect" memAddr="0x2619" byteCnt="2">

<dgElements type="ui1">

<val0 desc="Byte0" off="0"/>

<Val1 desc="Byte1" off="1"/>

</dgElements>

</DataGroup>


Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.